{# Copyright The IETF Trust 2015, All Rights Reserved #}
{% load origin %}
{% origin %}
{% load ietf_filters %}
<h1>
    {{ doc.name|prettystdname }}
</h1>
<ul class="nav nav-tabs my-3">
    {% for name, t, url, active, tooltip in tabs %}
        <li {% if tooltip %}title="{{ tooltip }}"{% endif %} class="nav-item">
            <a class="nav-link {% if t == selected %}active{% endif %}{% if not active %}disabled{% endif %}"
               {% if active %}href="{{ url }}"{% endif %}>
                {{ name|capfirst_allcaps }}
            </a>
        </li>
    {% endfor %}
</ul>
